]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gdm/utils: Pass cancellable to the FPrint Device proxy and avoid signals
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 12 Apr 2022 15:20:58 +0000 (17:20 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 28 Feb 2024 21:12:03 +0000 (22:12 +0100)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>

js/gdm/util.js

index e9ed77e0c927b7e58aace16c66f519c3f2d11bec..7adeaebfa13c26055d956e04ecc7a973b6823c48 100644 (file)
@@ -410,8 +410,8 @@ export class ShellUserVerifier extends Signals.EventEmitter {
         const args = cancellable ? [cancellable] : [];
         const [devicePath] = await fprintManager.GetDefaultDeviceAsync(...args);
         const fprintDeviceProxy = new FprintDeviceProxy(Gio.DBus.system,
-            'net.reactivated.Fprint',
-            devicePath);
+            'net.reactivated.Fprint', devicePath, null, cancellable,
+            Gio.DBusProxyFlags.NOT_CONNECT_SIGNALS);
         this._setFingerprintReaderType(fprintDeviceProxy['scan-type']);
         this._updateDefaultService();